package com.chris.libs.example.pages.tabs.main.style;

import com.chris.libs.base.x.mvpp.mvpp.DefaultPresenter;

import javax.inject.Inject;

/**
 * @author Chris chan
 * Create on： 2025/2/1 15:05
 * Use for:
 * Explain:
 */
public class StylePresenter extends DefaultPresenter<StyleContract.UIView>
        implements StyleContract.Presenter {
    private StyleViewModel viewModel;

    @Inject
    public StylePresenter() {
    }

    public void setViewModel(StyleViewModel viewModel) {
        this.viewModel = viewModel;
    }

    @Override
    public void requestAndUpdate() {
        this.viewModel.setText("好好看");
    }
}
